package com.ruoyi.payInfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * payInfo对象 pay_info
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class PayInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 收/支 */
    @Excel(name = "收/支")
    private String type;

    /** 交易对方 */
    @Excel(name = "交易对方")
    private String trade;

    /** 商品说明 */
    @Excel(name = "商品说明")
    private String description;

    /** 收/付款方式 */
    @Excel(name = "收/付款方式")
    private String payWay;

    /** 金额 */
    @Excel(name = "金额")
    private Double price;

    /** 交易订单号 */
    @Excel(name = "交易订单号")
    private String transactionNum;

    /** 商家订单号 */
    @Excel(name = "商家订单号")
    private String saleOrderNum;

    /** 交易时间 */
    @Excel(name = "交易时间")
    private String tradeTime;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String identificationNumber;

    /** 账号信息 */
    @Excel(name = "账号信息")
    private String account;

    /** 交易平台 */
    @Excel(name = "交易平台")
    private String platform;

    /** 导入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "导入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date etlDt;

    /** 来源 */
    @Excel(name = "来源")
    private String origin;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setTrade(String trade) 
    {
        this.trade = trade;
    }

    public String getTrade() 
    {
        return trade;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setPayWay(String payWay) 
    {
        this.payWay = payWay;
    }

    public String getPayWay() 
    {
        return payWay;
    }

    public void setPrice(Double price)
    {
        this.price = price;
    }

    public Double getPrice()
    {
        return price;
    }

    public void setTransactionNum(String transactionNum) 
    {
        this.transactionNum = transactionNum;
    }

    public String getTransactionNum() 
    {
        return transactionNum;
    }

    public void setSaleOrderNum(String saleOrderNum) 
    {
        this.saleOrderNum = saleOrderNum;
    }

    public String getSaleOrderNum() 
    {
        return saleOrderNum;
    }

    public void setTradeTime(String tradeTime) 
    {
        this.tradeTime = tradeTime;
    }

    public String getTradeTime() 
    {
        return tradeTime;
    }

    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIdentificationNumber(String identificationNumber) 
    {
        this.identificationNumber = identificationNumber;
    }

    public String getIdentificationNumber() 
    {
        return identificationNumber;
    }

    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }

    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }

    public void setEtlDt(Date etlDt) 
    {
        this.etlDt = etlDt;
    }

    public Date getEtlDt() 
    {
        return etlDt;
    }

    public void setOrigin(String origin) 
    {
        this.origin = origin;
    }

    public String getOrigin() 
    {
        return origin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("trade", getTrade())
            .append("description", getDescription())
            .append("payWay", getPayWay())
            .append("price", getPrice())
            .append("transactionNum", getTransactionNum())
            .append("saleOrderNum", getSaleOrderNum())
            .append("tradeTime", getTradeTime())
            .append("number", getNumber())
            .append("name", getName())
            .append("identificationNumber", getIdentificationNumber())
            .append("account", getAccount())
            .append("platform", getPlatform())
            .append("etlDt", getEtlDt())
            .append("origin", getOrigin())
            .toString();
    }
}
